/**============================================================================
 Confidential Information - Limited distribution to authorized persons only.
 This software is protected as an unpublished work under the U.S. Copyright
 Act of 1976.

 Copyright (c) 2011, BluePhoenix Solutions, Inc. All rights reserved.
 ----------------------------------------------------------------------------
 file......: ColumnsInfo.java
 Author....: Vyacheslav Kovalyov
 Created...: 26.10.11

 Description:

 ============================================================================*/
package ru.monyag.pred.swing.ui.table;

/**
 * @author Vyacheslav Kovalyov
 * @version 1.0
 */
public class TableColumnInfo {

    public TableColumnInfo(int id, String columnName) {
        this(id, columnName, null);
    }

    public TableColumnInfo(int id, String columnName, Integer width) {
        this.id = id;
        this.columnName = columnName;
        this.width = width;
    }

    public String getColumnName() {
        return columnName;
    }

    public Integer getWidth() {
        return width;
    }

    public int getId() {
        return id;
    }

    private final String columnName;
    private final Integer width;
    private final int id;
}
